﻿using Coldairarrow.Entity.PB;
using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    /// <summary>
    /// 发货通知单按楼号数据
    /// </summary>
    public class PB_DeliverGoodDetailDTO
    {
        /// <summary>
        /// 清单主表
        /// </summary>
        public PB_DesignList Main { get; set; }
        /// <summary>
        /// 物料明细
        /// </summary>
        public List<PB_PB_DesignMaterials> Sub { get; set; }

        public static implicit operator List<object>(PB_DeliverGoodDetailDTO v)
        {
            throw new NotImplementedException();
        }
    }

    /// <summary>
    /// 下面物料清单明细
    /// </summary>
    public class PB_PB_DesignMaterials
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public String Id { get; set; }

        /// <summary>
        /// 清单子表ID
        /// </summary>
        public String SubId { get; set; }

        /// <summary>
        /// 物料ID
        /// </summary>
        public String MaterialId { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public String MaterialName { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 理论重量
        /// </summary>
        public Double? Weight { get; set; }

        /// <summary>
        /// 仓储单位
        /// </summary>
        public String StorageId { get; set; }

        /// <summary>
        /// 设计数量
        /// </summary>
        public double? Nums { get; set; }

        /// <summary>
        /// 设计发货数量
        /// </summary>
        public double? RealNums { get; set; }

        /// <summary>
        /// 本次发货数量
        /// </summary>
        public double? EstimatedQuantity { get; set; }

        /// <summary>
        /// 已发数量
        /// </summary>
        public double? ShipmentNums { get; set; }
        /// <summary>
        /// 仓储单位
        /// </summary>
        public string storageName { get; set; }
    }
}
